package com.itcs.netty.common;

/**
 * 交易msg
 * 
 * @author LiuPeng
 *
 */
public class TranMsg extends BaseMsg {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3330567609393234007L;

	private String tranId;

	private String json;

	public TranMsg(String tranId, String json) {
		super(MsgType.TRAN);
		this.tranId = tranId;
		this.json = json;
	}

	/**
	 * @return the tranId
	 */
	public String getTranId() {
		return tranId;
	}

	/**
	 * @param tranId
	 *            the tranId to set
	 */
	public void setTranId(String tranId) {
		this.tranId = tranId;
	}

	/**
	 * @return the json
	 */
	public String getJson() {
		return json;
	}

	/**
	 * @param json
	 *            the json to set
	 */
	public void setJson(String json) {
		this.json = json;
	}

}
